import React, { Component } from 'react';
import Swiper from './ui/Swiper';
import connect from './connect'
import Search from './ui/Search'

@connect
class index extends Component {
    componentDidMount() {
        this.props.initSwiper()
    }
    render() {
        return (
            <>
                {/* 顶部轮播图 */}
                <Swiper />

                {/* 搜索 */}
                <Search />
            </>
        );
    }
}

export default index;
